﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" Title="Nexus" EnableViewState="false" Theme="default" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<%if (isDebug) {%>
   <script language="javascript" src="/js/ieupdate.js"></script>
   <script language="javascript" src="/js/scriptaculous/prototype.js"></script>
   <script language="javascript" src="/js/browser.js"></script>
   <script language="javascript" src="/js/scriptaculous/effects.js"></script>
   <script language="javascript" src="/js/scriptaculous/dragdrop.js"></script>
   <script language="javascript" src="/js/scriptaculous/controls.js"></script>
   <script language="javascript" src="/js/rsa.js"></script>
   <script language="javascript" src="/js/scripts.js"></script>
   <script language="javascript" src="/js/XmlObjtree.js"></script>
   <script language="javascript" src="/js/Generics.js"></script>
   <script language="javascript" src="/js/dragresize.js"></script>
<% } else { %>
   <script language="javascript" src="/js/head.js?<%= JS_Head %>"></script>
<% } %>
   <script language="javascript" src="/refresh_web/ftb.js"></script>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<asp:ScriptManager ID="ScriptManager" runat="server" 
      onasyncpostbackerror="ScriptManager_AsyncPostBackError">
<Services>
    <asp:ServiceReference InlineScript="true" Path="JSON.asmx" />                
    <asp:ServiceReference InlineScript="true" Path="ProxyAsync.asmx" />
</Services>
</asp:ScriptManager>

<!-- Top Banner [Start] -->
<table border="0" width="100%" class="banner">
<tr>
   <td class="logo" width="33%"></td>
   <td align="center" width="34%">
      <table border="0" cellspacing="0" cellpadding="0" class="search"><tr><td class="menu_img">
      <img src="/images/search/google.gif" id="banner_search" />
      </td><td>
      <input class="banner_search_input" id="banner_search_txt" type="text" onfocus="Search_OnFocus(this)" onblur="Search_OnBlur(this)" />
      </td></tr></table>
      
<div class="DropDownMenu DDSearch" id="banner_search_menu" onmouseover="cancelcollapse()" onmouseout="collapse('banner_search')">
<ul class='DDMenu'>
   <li><a onclick="UpdateSearchEngine(1);collapseMenu('banner_search');"><img src="/images/search/google.gif" border"0" /> Google</a></li>
   <li><a onclick="UpdateSearchEngine(2);collapseMenu('banner_search');"><img src="/images/search/yahoo.gif" border"0" /> Yahoo</a></li>
   <li><a onclick="UpdateSearchEngine(3);collapseMenu('banner_search');"><img src="/images/search/live.gif" border"0" /> MSN Live</a></li>
</ul>
</div>

   </td>
   <td align="right" width="33%">
   <table border="0" cellpadding="0" cellspacing="0">
   <tr valign="top">
      <td class="Banner_Links">
         <span id="head_fullname"><%= Server.HtmlEncode(Profile.Fullname) %></span> |
         <a href="javascript:void(0)" id="a_Messages" onclick="Msg.ShowMessage()">Messages</a> |
         <a target="_blank" href="/support">Support</a> |
         <a href="/Logout.ashx">Logout</a>
         <div class="banner_menu">
         <% if (User.IsInRole("Administrators")) { %>
         <a href="javascript:void(0)" onclick="setDebug(1)">Debug</a> |
         <%} %>
         <a id="banner_addWidget" href="javascript:void(0)" onclick="Menu.Show(1)">Add Widget</a><span id="banner_sep1"> | </span>
         <a id="banner_modifyLayout" href="javascript:void(0)" onclick="Menu.Show(2)">Modify Layout</a>
         </div>
      </td>
      <td><div class="menu" onclick="Menu.Toggle()" title="Get more stuff for your page, pick a theme, share your page, and update your profile" style="display: block;"> </div>   </td>
   </tr>
   </table>
   </td>   
</tr>
</table>
<!-- Top Banner [End] -->
<div id="Menu" class="Menu" style="display:none"></div>
<table cellpadding="0" cellspacing="0" width="100%" class="tab_main"><tr><td>
<table border="0" cellpadding="0" cellspacing="0"><tr valign="top">
<td width="10px"><!-- Spacer --></td>
<td id="tab_L" class="tab_scroll_L" onmouseover="left()" onmouseout="pause()">&nbsp;</td>
<td>
<div id="tabHolder" style="overflow:hidden;float:left;position:relative">
<ul id="tablist" class="tabs">
<!-- this is where all the tabs go -->
</ul>
</div>
</td>
<td id="tab_R" class="tab_scroll_R" onmouseover="right()" onmouseout="pause()">&nbsp;</div>
<td>
<div id="tab_addtab" class="AddTab"><a onclick="myTabs.AddNewTab()">Add Tab</a></div>
</td>
</tr></table>
</td></tr></table>
<div class="tab_bottom"></div>
<div id="div_hint" class="pagehint">Welcome, please wait while we load your space..</div>
<div id="div_Messages" class="pagemessage" style="display:none"></div>
<div id="div_nowidget" style="display:none">
<div align="center" class="nowidgets">
<table border="0"><tr><td>
<br />No widgets were added to this tab.<br /><br />
<input class="nowidgets_btn" type="button" value="Add new Widgets now!" onclick="Menu.Show(1)" />
</td></tr></table>
</div>
</div>
<div id="widgets">
<div id="progress" align="center"><img src="/images/ajax_bar.gif" border="0" /></div>
</div>

<div id="debug" style="display:none">
<textarea name="txt" rows="10" cols="60">ClearHistory()</textarea>
<input type="button" value="Run" onclick="eval(document.aspnetForm.txt.value)" />
<div id="pageHistory"></div>
</div>
</div>
<%if (isDebug) {%>
   <script language="javascript" src="/js/wz_tooltip.js"></script>
   <script language="javascript" src="/js/tip_balloon.js"></script>
   <script language="javascript" src="/js/mywidgets.js"></script>
   <script language="javascript" src="/js/mypages.js"></script>
   <script language="javascript" src="/js/menu.js"></script>
   <script language="javascript" src="/js/generics2.js"></script>
   <script language="javascript" src="/js/default.aspx.js"></script>
<% } else { %>
   <script language="javascript" src="/js/foot.js?<%= JS_Head %>"></script>
<% } %>

<script language="javascript">
var PageTheme = "/app_themes/<%= Theme %>";
isDebugMode = <%= (isDebug ? "true" : "false" ) %>;
</script>
<div id="Ticker" title="Click to hide ticker" onclick="Msg.HideTicker();"><MARQUEE direction="left" width="100%" id="TickerMarquee">Loading News..</MARQUEE></div>
</asp:Content>

